@include('blog::layouts.header')
<article>
  <div class="lbox">	
    <div class="whitebg bloglist">	  
		<h2 class="htitle">{{$name}}</h2>	  
		<ul>		
			@foreach($articles as $article)			
				<li>			  
					<h3 class="blogtitle">				  
						<a href="{{ route('blog.index.info',['id'=>$article['id']]) }}">
							{{$article->title}}				  
						</a>			  
					</h3>			  
					<span class="blogpic imgscale">				  
						<a>					
							<img src="{{$article->image_one->url}}"  alt="">			
						</a>			 
					</span>			 
					<p class="blogtext">{!! str_limit(strip_tags($article->content),130,'...') !!}</p>			 
					<p class="bloginfo">		
						<span>创建时间：{{$article->created_at}}</span>		
					</p> 			
					<a href="{{ route('blog.index.info',['id'=>$article['id']]) }}" class="viewmore">阅读更多</a> 	
				</li>		
			@endforeach	  
		</ul>	 
		{{$articles->appends(['id' => $ids])->links('blog::layouts.pagination')}}	
	</div>
  </div>
  @include('blog::layouts.right')
</article>
@include('blog::layouts.footer')

